package cn.dust.design.pattern.structural.flyweight.piece;

public abstract class IgoChessman {
    public abstract String getColor();
    public void display(Coordinates coord){
        System.out.println("棋子颜色为："+this.getColor()+"  "+coord.getX()+" "+coord.getY());
    }
}
